projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad68bbd
)
Port thread.c to OpenBSD ARM
author
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 27 Oct 2017 00:31:41 +0000
(17:31 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 27 Oct 2017 00:32:30 +0000
(17:32 -0700)
Problem reported by Jeremie Courreges-Anglas (Bug#29005).
* src/thread.c (main_thread): Align to GCALIGNMENT.
src/thread.c
patch
|
blob
|
history
diff --git
a/src/thread.c
b/src/thread.c
index c03cdda0fae9a9f31c74ed947a49bbb19253c128..6f12d796ff99eb965e9b2aef09e1cd53c37c20b2 100644
(file)
--- a/
src/thread.c
+++ b/
src/thread.c
@@
-26,7
+26,7
@@
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include "coding.h"
#include "syssignal.h"
-static struct thread_state main_thread;
+static struct thread_state
alignas (GCALIGNMENT)
main_thread;
struct thread_state *current_thread = &main_thread;